package org.neuedu.chapter08_0625.demo05;

public class Test {
    public static void main(String[] args) {
        String username = "tom1";
        if (!username.equals("tom")) {
            UsernameNotFoundException e = new UsernameNotFoundException();
            try {
                throw e;
            } catch (UsernameNotFoundException ex) {
                ex.printStackTrace();
            }
        }
    }
}
